<?php 
namespace App\Services;

use App\Facades\Infra\AddressManager;

class AddressService{

	public function getAllProvince(){
		return AddressManager::getAllProvince();
	}

	public function getAllCityByProvinceId($request)
	{
		$provinceId = $request->province_id;

		// dd("asd");

		$conditions = [
			'province_id' => $provinceId
		];

		return AddressManager::getAllCityByProvinceId($conditions);
	}
}